
#ifndef __XB_DEV_RTC_H__
#define __XB_DEV_RTC_H__

/* ------------------------------------------------------------------------- */

#define RTC_INDEX			0x0070
#define RTC_TARGET			0x0071

/* ------------------------------------------------------------------------- */

capi void fastcall rtc_init(void);

capi void fastcall rtc_index(uint8 reg);
capi uint8 fastcall rtc_read(void);
capi void fastcall rtc_write(uint8 data);

/* ------------------------------------------------------------------------- */

#endif
